package com.awakening.service;

import com.awakening.pojo.User;

import java.sql.SQLException;

/**
 * 用户Service接口
 * @Author:AwakeningCode
 * @Date: Created in 17:56 2018\1\22 0022
 */
public interface UserService {
    void regist(User user) throws Exception;

    User findByCode(String code) throws Exception;

    void update(User user) throws Exception;
}
